// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   QNA2B1.java

package org.quickserver.net.GB268753QNS.control;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.quickserver.net.model.GB268753QNS;
import org.quickserver.net.model.GB26875SetUp;
import org.quickserver.net.model.GBServerDataS;
import org.quickserver.net.server.ClientHandler;
import org.quickserver.util.data.dataProcessing;

public class SSB3
{

    public SSB3()
    {
    }

    public static void SSB2OBJ(ClientHandler handler, String strs[])
    {
        GBServerDataS ec = (GBServerDataS)handler.getClientData();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String td1=strs[3]+strs[4];
        String td2=strs[5]+strs[6];
        String td3=strs[7]+strs[8];
        String td4=strs[9]+strs[10];
        String td5=strs[11]+strs[12];
        String td6=strs[13]+strs[14];
        
        GB268753QNS GBQN = new GB268753QNS();
        GBQN.setType(1);
        GBQN.setId(ec.getUniqueCode());
        GBQN.setUniqueCode(ec.getUniqueCode());
        GBQN.setUploadTime(sdf.format(new Date()));
        GBQN.setTd1(dataProcessing.hexStringToInt10(td1));
        GBQN.setTd2(dataProcessing.hexStringToInt10(td2));
        GBQN.setTd3(dataProcessing.hexStringToInt10(td3));
        GBQN.setTd4(dataProcessing.hexStringToInt10(td4));
        GBQN.setTd5(dataProcessing.hexStringToInt10(td5));
        GBQN.setTd6(dataProcessing.hexStringToInt10(td6));
        
        ec.setGb268753qns(GBQN);
    }
}
